﻿using E4RPManager.DataSets;
using E4RPTools;

namespace E4RPManager
{
    public class Validator
    {

       

        public static Result IsPartnerValid(ParceiroDataSet dataSet)
        {
            Result result = new Result();
            // Partner
            //    [Id] [bigint] IDENTITY(1,1) NOT NULL,
            //[Nome] [nvarchar](150) NOT NULL,
            //[Morada] [nvarchar](150) NULL,
            //[Cidade] [nvarchar](150) NULL,
            //[CodigoPostal] [nvarchar](150) NULL,
            //[Contribuinte] [nvarchar](150) NOT NULL,
            //[Telefone] [nvarchar](50) NULL,
            //[EMail] [nvarchar](150) NULL,
            //[Observacoes] [nvarchar](max) NULL,
            //[EnderecoWeb] [nvarchar](150) NULL,
            //[Fax] [nvarchar](50) NULL,
            return result;
        }

        
        public static Result IsClientValid(ClienteDataSet dataSet)
        {
            Result result = new Result();

            //    [Id] [bigint] IDENTITY(1,1) NOT NULL,
            //[Nome] [nvarchar](150) NOT NULL,
            //[Morada] [nvarchar](150) NULL,
            //[Cidade] [nvarchar](150) NULL,
            //[CodigoPostal] [nvarchar](150) NULL,
            //[Contribuinte] [nvarchar](150) NOT NULL,
            //[Telefone] [nvarchar](50) NULL,
            //[EMail] [nvarchar](150) NULL,
            //[Observacoes] [nvarchar](max) NULL,
            //[EnderecoWeb] [nvarchar](150) NULL,
            //[Fax] [nvarchar](50) NULL,

            //[IdCliente] [bigint] NOT NULL,
            //[IdProduto] [int] NOT NULL,
            //[Versao] [int] NOT NULL,
            //[Info] [int] NOT NULL,
            //[RegistadoEm] [datetime] NOT NULL,
            //[Validade] [datetime] NOT NULL,
            //[Licenca] [nvarchar](100) NOT NULL,
            //[Observacoes] [nvarchar](max) NULL,
            //[IdParceiro] [bigint] NULL,
            //[Factura] [nvarchar](100) NULL,
            //[FacturadoEm] [datetime] NULL,
            return result;
        }
    }
}
